package com.hooda.dao;

import com.hooda.pojo.User;

import java.util.List;

/**
 * @author zhangzp
 * @version 1.0, 2021/7/30
 */
public interface UserMapper {

    User findUserById(User user);

    User findUserByName(User user);

    List<User> findAll();

    int insert(User user);

    int update(User user);

    int deleteById(User user);

}
